home *** CD-ROM | disk | FTP | other *** search
- Path: rain.fr!world-net!usenet
- From: escali_m@worldnet.net (Marc Escalier)
- Newsgroups: comp.lang.c
- Subject: big problem with a very small program:please help me!
- Date: Sat, 09 Mar 1996 07:27:39 GMT
- Organization: World-Net information exchange, Internet provider.
- Message-ID: <4hqc8p$njh@aldebaran.sct.fr>
- NNTP-Posting-Host: pm10-062.sct.fr
- X-Newsreader: Forte Free Agent 1.0.82
-
- #include <stdio.h>
- #include <math.h>
-
- main()
- {
- float i;
-
- i=5.25;
- printf("i is real:l%f\n",i); /* display 5.25000000000000... ok! */
- printf("i is integer%d\n",i); /* display 0 what does that mean
- ?!?*/
- return(0);
- }
-
- thanx for any help.
- please answer by email because i don't read often comp.lang.c.
-
-